﻿using FreeSql.DataAnnotations;

using tcm.entity;
using tcm.entity.Device;

[Table(Name = "tcm_cabinet")]
public class Cabinet : BaseEntity
{
	public Cabinet()
	{

	}

    public long device_id { get; set; }

    //编号
    public string cabinet_no { get; set; }

    //货架
    public string container_no { get; set; }

    public long phm_list_id { get; set; }

    public int num { get; set; }

    public int is_have { get; set; }

    public int is_use { get; set; }

}

public class CabinetSelect : Cabinet
{
    public string phm_list_name { get; set; }

    public string site_name { get; set; }

    public long? site_id { get; set; }

    public List<PharmaceuticalInfo> pharmaceuticals { get; set; } = new List<PharmaceuticalInfo>();
}




